package behavior.strategy;

/**
 * @author dali
 * @date 2021-07-29 10:44
 * @Description 乘公交
 */

public class ByBus implements  Strategy{
    private final static int BUS_FEE = 1;
    @Override
    public int calFee(int distance) {
        return distance * BUS_FEE;
    }
}
